﻿using System.Windows;
using System.Windows.Controls;

namespace Teach1.Gui.Controls
{
    /// <summary>
    /// PlotControl.xaml 的交互逻辑
    /// </summary>
    public partial class PlotControl : UserControl
    {
        // Register the PageContent dependency property
        public static readonly DependencyProperty PageContentProperty =
            DependencyProperty.Register(
                nameof(PageContent),
                typeof(object),
                typeof(PlotControl),
                new PropertyMetadata(
                    default(object),
                    null
                )
            );

        // CLR wrapper for the dependency property
        public object PageContent
        {
            get => GetValue(PageContentProperty);
            set => SetValue(PageContentProperty, value);
        }

        public PlotControl()
        {
            InitializeComponent();
        }


    }
}
